﻿<controls:ChildWindow x:Class="DXTools.UI.Core.Dialogs.ProgressDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="150" 
           Title="Progress">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock x:Name="txtMessage" TextWrapping="Wrap" Margin="2,0,2,2" TextAlignment="Left" />
        <ProgressBar x:Name="ProgressBar" Grid.Row="1" Height="20" HorizontalAlignment="Stretch" Margin="2,0,2,2" VerticalAlignment="Top"  />

        <Button x:Name="CloseButton" Content="Close" Click="CloseButton_Click"  Width="75" Height="23" HorizontalAlignment="Right" Margin="0,5,5,0" Grid.Row="2" />
        <!--<Button x:Name="EmailButton" Content="Email To Support" Click="EmailButton_Click" Width="120" Height="23" HorizontalAlignment="Left" Margin="5,5,5,0" Grid.Row="2" />-->
    </Grid>
</controls:ChildWindow>